# -*- coding:utf-8 -*-

import requests
import json
url = "http://official-account/app/messages/group"
body = {"type: ","text","content","test context","tg_id","20717"}
headers = {"content-type":"appliction/json","Authorization":"App appid = 4abf1a,token = 9480295ab2e2eddb8"}

response = requests.post(url,data = json.dumps(body),headers = headers)

print(response.text)
print(response.status_code)